package com.cy.ppj.comm.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @description: 系统参数
 * @author: Ocean
 * @create: 2018-08-03 16:26
 **/
@Data
@Configuration
public class SystemProperties {

    @Value("${password.salt}")
    private String salt;

    @Value("#{'${spring.profiles.active}' == 'prod'}")
    protected Boolean isProd;

    @Value("${spring.profiles.active}")
    private String profilesActive;

    @Value("${jyd.product-id}")
    private String jydProductId;

}
